import request from "../util/request.ts";
import type {Coupons} from "./type/model.ts"

export const fetchCouponsList = async (): Promise<any> => {
    return await request.get(`/coupons`);
}

export const postCoupons = async (coupons: Coupons): Promise<any> => await request.post("/coupons", coupons)
